<ion-header>
  <ion-navbar>
    <ion-title>
      投资
    </ion-title>
  </ion-navbar>
</ion-header>

<ion-content>
  <div class="money-info g-border-1px">
    <div>
      <span>产品名称</span>
      <b float-right>{{ product.title }}</b>
    </div>
    <div>
      <span>产品余量</span>
      <b class="color-red" float-right>{{ product.balanceAmount }} 元</b>
    </div>
    <div>
      <span>起投金额</span>
      <b class="" float-right>{{ product.minInvestmentAmount }} 元</b>
    </div>
  </div>
  <div class="g-panel money-input">
    <label>投资金额</label>
    <ion-input placeholder="点击输入金额" type="number" (ionBlur)="checkMoney()" [(ngModel)]="money"></ion-input>
    <button ion-button clear (click)="allMoney()">余额全投</button>
  </div>
  <!--<div class="g-panel coupon">-->
    <!--<label>优惠券</label>-->
    <!--<span>100元抵扣券</span>-->
    <!--<button ion-button clear>-->
      <!--<ion-icon name="ios-arrow-forward"></ion-icon>-->
    <!--</button>-->
  <!--</div>-->
</ion-content>

<ion-footer class="g-footer-button danger">
  <div class="footer-info">
    点击确认即代表同意 <span>《聚贤庄购买协议》</span>
  </div>
  <button ion-button full (click)="submit()">确认</button>
</ion-footer>
